package com.aaron.contentcenter.sentineltest;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import lombok.extern.slf4j.Slf4j;

/**
 * Description:
 *
 * @author linzhj
 * @date 2021/7/18 14:41
 */
@Slf4j
public class TestControllerBlockHandlerClass {

    public static String block (String a, BlockException e){
        log.warn("限流 或者 降级了block",e);
        return "限流 或者 降级了block";
    }
}
